package cn.iocoder.yudao.module.system.controller.admin.zkdatanewrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 数据项新增/修改 Request VO")
@Data
public class ZkdataNewRecordSaveReqVO {

    @Schema(description = "角色ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "7317")
    private Long id;

    @Schema(description = "数据标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "数据标识不能为空")
    private String dataUniq;

    @Schema(description = "数据总数", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "数据总数不能为空")
    private Integer dataTotal;

    @Schema(description = "传输数据")
    private Integer dataSuc;

    @Schema(description = "已发送", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "已发送不能为空")
    private String dataSended;

    @Schema(description = "接收方", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "接收方不能为空")
    private String dataReceiver;

    @Schema(description = "发送方", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "发送方不能为空")
    private String dataSender;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;

    @Schema(description = "转发状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "转发状态不能为空")
    private Integer status;

}